#pragma once

#include <SFML/Graphics.hpp>

#include "DebugConsole.h"

struct TileProperties_t
{
	bool walkable;
};

class Tile
{
public:
	Tile(sf::Sprite& spr, float posx, float posy, float szx, float szy);
	~Tile();

	void SetProperties(const TileProperties_t& props);
	TileProperties_t GetProperties();

	void OnRender();
private:
	sf::Sprite m_sprite;
	sf::FloatRect m_rect;
	TileProperties_t m_properties;
};